import datetime
from dataclasses import dataclass

from poker_bot.core.models.enums.currency import Currency
from poker_bot.core.models.enums.withdraw import WithdrawStatus


@dataclass(frozen=True)
class WithdrawDTO:
    id: int
    status: WithdrawStatus
    payment_method_id: int
    summ: float
    user_id: int
    payment_address: str
    created_at: datetime.datetime


@dataclass(frozen=True)
class WithdrawWithDetailsDTO(WithdrawDTO):
    currency: Currency
    currency_symbol: str
